[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
ere are things that are hard to get right. This works: \startpostponing     \startplacefigure[location=here,title={test \footnote{oeps 1}}]         \blackrule[width=1tw]         here         \footnote{hello 1} and         \footnote{hello 2} and         \footnote{hello 3} done     \stopplacefigu

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
notes inside floats) - in traditional tex deeply burried inserts disappearm less so in lmtx There are things that are hard to get right. This works: \startpostponing \startplacefigure[location=here,title={test \footnote{oeps 1}}] \blackrule[width=1tw] here \footnote{hello

[NTG-context] New example with both sides margin

2024-03-27 Thread Ursula Hermann
Dear Pablo, Here is my example: \setuppapersize[A4] \setupbodyfont[termes, 12.50pt] \setuplayout[backspace=2.9cm, width=fit] \ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm] \showframe

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/22/24 15:57, Ursula Hermann wrote: > Dear Pablo,  > > Many thanks for your example. Sorry for writing so late.  Dear Ursula, many thanks for your minimal sample. > At least I found out, how it works for me .  This is the best way.  > [...] > \inrightmargin{\black

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
,width=4cm] \inrightmargin{\blackrule\\{3.2.2}}\par \dontleavehmode \blackrule \showframe \starttext Me \stoptext Von: Pablo Rodriguez via ntg-context Gesendet: Freitag, 15. März 2024 20:00:35 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \define[2]\MyNumberChapterCommand {#1\space\blackrule[width=1pt,height=22pt,depth=8pt]\space#2} \setuphead [chapter] [ page=no, command=\MyNumberChapterCommand, style=\bfc]

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
  backgroundcolor=lightgray, >   leftoffset=.5\bodyfontsize, >   rightoffset=.5\bodyfontsize, >   topoffset=.5\bodyfontsize, >   bottomoffset=.5\bodyfontsize, >   frame=off,] >   \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} >   \blackrule[color=black, height=0.10ex, wid

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
it in a better way. Finally instead of \blackrule[color=black, height=0.10ex, width=13.50cm] you can use just \hairline, and the thickness and color of such a \hairline can be adjusted by \setupthinrules[rulethickness=4pt,color=darkgreen] (for instance), which should be put before

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
, alternative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackr

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
rnative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, before={\switchtobodyfont[global]}, after={}, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1

[NTG-context] Problem with the paragraph

2023-12-13 Thread Ursula Hermann
,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} \starttext \bf{Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor)}. \stoptext \starttext {\it \par Sei M die Menge aller Männer und F die Menge aller

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
e tried it now, I have sent you the pdf. This works. But the paragraph > should fill the whole blackrule. > > -Ursprüngliche Nachricht- > Von: Henning Hraban Ramm > Gesendet: Dienstag, 05. Dezember 2023 14:58 > An: mailing list for ConTeXt users > Betreff: [NTG-cont

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Colored Paragraph Am 05.12.23 um 14:16 schrieb Ursula Hermann: The paragraph should have a color

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
. This works. But the paragraph should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Colored Paragraph Am 05.12.23 um 14:16 schrieb Ursula Hermann

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the paragraph should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re

[NTG-context] Colored Paragraph

2023-12-05 Thread Ursula Hermann
, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \startparagraph It was essential for Hasselt to have a bridge across the Zwarte Water river. The bishop of Utrecht gave

[NTG-context] Re: It works after a few changes but ..

2023-11-23 Thread Ursula Hermann
, width=fit, distance=0.5em, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \starttheorem The square on the hypotenuse is equal to the sum of the squares

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
\stoptheorem > > The spurious parentheses seem to be a side-effect of having unmatched curly > brackets in the bit that I have quoted. > > The following eliminates them: > > \definemargindata [MyInMargin][inright] > \definemarginframed[MyInMargin][topframe=on,bot

[NTG-context] Re: It works after a few changes but ..

2023-11-20 Thread Ursula Hermann
the bit that I have quoted. The following eliminates them: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
e-effect of having unmatched curly brackets in the bit that I have quoted. The following eliminates them: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\

[NTG-context] It works after a few changes but ..

2023-11-17 Thread Ursula Hermann
, and also my text with the margin: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations

[NTG-context] Re: Text and Remark

2023-11-17 Thread Ursula Hermann
Dear Bruce Yes, it was better. But i show you how it should loook: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height

[NTG-context] My example, with \blackrule, works perfect

2023-09-13 Thread Ursula Hermann
Dear List, I just finished my example, did some changes today and it works perfect \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \margintext{\blackrule[color=black, height=0.05ex, width=1cm

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.09.2023 um 11:19: Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me

Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
number 3. > Thanks > Fabrice > > \setupbodyfont[12pt,pagella] > \starttext > \blackrule[width=0.71em,height=0.71em]37254H > > > \blackrule[width=\wdofstring{3},height=\htofstring{3},depth=\dpofstring{3}] > > Wolfgang > > _

Re: [NTG-context] About \blackrule

2023-04-19 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext  \blackrule[width=0.71em,height=0.71em]37254H \blackrule[width=\wdofstring{3},height=\htofstring

[NTG-context] About \blackrule

2023-04-19 Thread Fabrice Couvreur via ntg-context
Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext \blackrule[width=0.71em,height=0.71em]37254H \stoptext ___ If your question

Re: [NTG-context] update

2023-02-24 Thread Otared Kavian via ntg-context
ebar][size=2]{x_2} = >\fenced[doublebar][size=3]{x_3} = > \fenced[doublebar][size=4]{x_4} = >\fenced[doublebar]{\blackrule[width=1cm,height=1cm]} >} > >\im{ >\fenced[bar]{x} = >\fenced[bar][size=1]{x_1} = >\fenced[bar

[NTG-context] update

2023-02-23 Thread Hans Hagen via ntg-context
} = \fenced[doublebar][size=1]{x_1} = \fenced[doublebar][size=2]{x_2} = \fenced[doublebar][size=3]{x_3} = \fenced[doublebar][size=4]{x_4} = \fenced[doublebar]{\blackrule[width=1cm,height=1cm]} } \im{ \fenced[bar]{x} = \fenced[bar][size

[NTG-context] Font substitution for extensible symbols

2023-02-01 Thread Yaroslav Beltukov via ntg-context
\startformula \sqrt{\frac{1}{2}}\dorecurse{15}{+\sqrt{\blackrule[width=10pt,height=#1pt,depth=#1pt,color=gray]}} \stopformula \startformula \sqrt{\blackrule[width=10pt,height=100pt,depth=100pt,color=gray]} \stopformula \stoptext It works in MKIV but it gives the following error in the latest LMTX

Re: [NTG-context] ugly bug

2022-06-03 Thread Hans Hagen via ntg-context
that end/begin with qoutes (i.e. smaller interlineskip), see example below: on page 1 the blackrule is about 1mm higher than on page 2. In the past I then used really laborious workarounds to get these single pages in the correct way (without jumping)… manual pagebreak, re-define layout etc

Re: [NTG-context] ugly bug

2022-06-03 Thread Steffen Wolfrum via ntg-context
/begin with qoutes (i.e. >> smaller interlineskip), see example below: on page 1 the blackrule is about >> 1mm higher than on page 2. >> >> In the past I then used really laborious workarounds to get these single >> pages in the correct way (without jumping)… manual pag

Re: [NTG-context] ugly bug

2022-06-02 Thread Wolfgang Schuster via ntg-context
Steffen Wolfrum schrieb am 01.06.2022 um 14:03: Hi, several times I got problems with my publishing house when they noticed that the headerlines jump up and down on pages that end/begin with qoutes (i.e. smaller interlineskip), see example below: on page 1 the blackrule is about 1mm higher

[NTG-context] ugly bug

2022-06-01 Thread Steffen Wolfrum via ntg-context
Hi, several times I got problems with my publishing house when they noticed that the headerlines jump up and down on pages that end/begin with qoutes (i.e. smaller interlineskip), see example below: on page 1 the blackrule is about 1mm higher than on page 2. In the past I then used really

[NTG-context] spooky jumping headerline

2022-05-25 Thread Steffen Wolfrum via ntg-context
Hi, the \blackrule (in my real project this is the running title) on page 1 is about 1mm higher than on page 2. Why? Best, Steffen \setupbodyfont[palatino,9.5pt]\setupinterlinespace[13pt] \setuppagenumbering [alternative=doublesided,location=] \setupheader[strut=yes] \setupheadertexts[text

[NTG-context] upload

2021-12-30 Thread Hans Hagen via ntg-context
). It basically boils down to boxes listening to source, target and anchor keys, as in: \vbox source 123 \bgroup \offinterlineskip \blackrule[width=4cm,height=2cm,depth=0cm,color=darkred]\par \blackrule[width=4cm,height=0cm,depth=1cm,color=darkblue]\par

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
> On 30 Nov 2021, at 19:34, Alexandre Christe via ntg-context > wrote: > > Dear list, > > > > What I've done is to play with mathalignment and \framed. Here is a MWE: > > \starttext > \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] > &g

[NTG-context] Sum and mathalignment

2021-11-30 Thread Alexandre Christe via ntg-context
Dear list, [image: image.png] What I've done is to play with mathalignment and \framed. Here is a MWE: \starttext \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] \framed[frame=off,background=midrule,boffset=.65cm]{\startformula \startmathalignment[n=12,align={middle,middle

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
ext > \showstruts > \input tufte \removeunwantedspaces\space > \localleftbox par {% > \hbox to 0pt{% >\llap{L}% >\vadjust{\strut\blackrule[width=1cm,color=red]}% >\hbox{\vadjust pre{\strut\blackrule[width=1cm,co

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
number, but neither achieve what I want. \underbar is too close to the number \setupbar[underbar][offset=-0.8] % play around with the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath the number? \defineframed

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread Aditya Mahajan via ntg-context
he number > and \crlf\blackrule too far below. So basically > my question is: is there a way of adjusting the position of a brief rule > beneath the number? \defineframed[underbarframed] [ frame=off, rulethickness=1pt,

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
The following MWE deliberately shows two ways of getting a short rule beneath a chapter number, but neither achieve what I want. \underbar is too close to the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
{% \llap{L}% \vadjust{\strut\blackrule[width=1cm,color=red]}% \hbox{\vadjust pre{\strut\blackrule[width=1cm,color=green]}}% }\hss }% \localrightbox par {}% \input tufte \removeunwantedspaces\space \vadjust pre{\strut BEFORE 1}% \vadjust pre

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Hans Hagen via ntg-context
]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkred]}} } \dostepwiserecurse{0}{360}{10}{ \ruledhbox{\rotate[rotation=#1,location=high]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkgreen]}} } \dostepwiserecurse{0}{360}{10}{ \ruledhbox{\rotate

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
backend.date=no] > \enabledirectives[backend.trailerid=no] > \starttext > > \startTEXpage > \blackrule[height=1cm,depth=0cm,width=4cm,color=darkred] > \stopTEXpage > > (there always were command line options for it) > > More interesting is asome new experimental code: > > \s

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
generating pdf files that can be compared. No date as a bad idea anyway. \setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07] \enabledirectives[backend.date=no] \enabledirectives[backend.trailerid=no] \starttext \startTEXpage \blackrule[height=1cm,depth=0cm,width=4cm,color

Re: [NTG-context] Footer

2021-07-06 Thread Fabrice Couvreur
>\dorecurse{10}{\input knuth} > > \stopchapter > > \stoptext > > > \startsetups [footer:leftpage] > \prefixedpagenumber > \space > \undepthed{\blackrule > [ > width=\linewidth, > height=\strutht, >

Re: [NTG-context] Footer

2021-07-05 Thread Wolfgang Schuster
topchapter \startchapter   [title=Second chapter]   \dorecurse{10}{\input knuth} \stopchapter \stoptext \startsetups [footer:leftpage] \prefixedpagenumber \space \undepthed{\blackrule [ width=\linewidth, height=\strutht, depth=\dimexpr\fo

Re: [NTG-context] definelabel and TEXpage

2021-05-21 Thread Rik Kabel
, but if the start/stop is changed to starttext/stoptext, all is well. Is this expected? Yes this is normal because a TEXPage has no margin areas. \showframe \starttext \blackrule[width=\hsize,height=\vsize,color=green] \startTEXpage[width=\paperwidth,height=\paperheight] \blackrule[width=\hsize

Re: [NTG-context] definelabel and TEXpage

2021-05-20 Thread Wolfgang Schuster
/stoptext, all is well. Is this expected? Yes this is normal because a TEXPage has no margin areas. \showframe \starttext \blackrule[width=\hsize,height=\vsize,color=green] \startTEXpage[width=\paperwidth,height=\paperheight] \blackrule[width=\hsize,height=\vsize,color=orange] \stopTEXpage

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
; Von: ntg-context im Auftrag von Pablo Rodriguez > > Gesendet: Freitag, 19. Februar 2021 16:41 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] \blackrule and margin > > On 2/19/21 4:02 PM, Ursula Hermann wrote: > > Dear List, > > i

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
> Thank you > Uschi > > > > Von: ntg-context im Auftrag von Pablo Rodriguez > > Gesendet: Freitag, 19. Februar 2021 16:41 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] \blackrule and margin > > On 2/19/21 4:02 PM, Ursula Hermann wrote

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
}} \hairline \startformula a^n + b^n = c^n. \stopformula \stoptext Thank you Uschi Von: ntg-context im Auftrag von Pablo Rodriguez Gesendet: Freitag, 19. Februar 2021 16:41 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] \blackrule and margin On 2/19/21 4:02

Re: [NTG-context] \blackrule and margin

2021-02-22 Thread Ursula Hermann
] \blackrule and margin On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List, > i have the little following example: > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, > leftmargindistance=0.2cm, > backspace=2.9cm, >

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen
On 2/19/2021 4:02 PM, Ursula Hermann wrote: Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm,              leftmargindistance=0.2cm,              backspace=2.9cm,              width=4cm] \showframe \starttext \blackrule \margintext

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
gt; \showframe > \starttext > \blackrule > \margintext{Me} > \blackrule[color=black, height=0.5ex, width=1cm] > \stoptext > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext  > What i want is a\blackrule over the margintext, but i do not get what I > wantend.  Hi Us

[NTG-context] \blackrule and margin

2021-02-19 Thread Ursula Hermann
Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{Me} \blackrule[color=black, height=0.5ex, width

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Rik Kabel
default width than *\framed*. Perhaps I missed it.) New overwrought example: \definelayer  [HRule] [x=0mm,y=0pt,width=\textwidth,height=\textheight] \setlayer [HRule]   [hoffset=0pt,voffset=10em] {\blackrule[color=green,height=1pt,width=10cm

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:29 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 27.11.2020 um 19:48: >> [...] >>\setupnotation[footnote] >> [before={\blackrule[color=red]}, >> after={\blackrule[color=blue]}, >> inbetween={\blackrule[color=green]}]

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.11.2020 um 19:48: Dear list, I have the following sample: \setupnotation[footnote] [before={\blackrule[color=red]}, after={\blackrule[color=blue]}, inbetween={\blackrule[color=green]}] \starttext \dorecurse{18}{a\footnote{b

[NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupnotation[footnote] [before={\blackrule[color=red]}, after={\blackrule[color=blue]}, inbetween={\blackrule[color=green]}] \starttext \dorecurse{18}{a\footnote{b} } \stoptext I wonder why the green rule isn’t shown. I mean, I

Re: [NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Pablo Rodriguez
d used "after={”\blank[samepage, medium]}" to prevent similar issues. In this case, a nasty trick could be "after={”\blackrule\blank[samepage, Opt]}". Just in case it helps, Pablo -- http://www.ousia.tk _

[NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Marco Patzer
Hi! In the following example the 2nd section head stays on page one when the “after” key is used. If the blackrule is commented out the section head moves to page two as intended. What's the reason the section head stays on the previous page when the “after” is used and how to fix

Re: [NTG-context] How to draw a horizontal line of 0.5\paperwidth ?

2020-11-04 Thread Sylvain Hubert
On Wed, 4 Nov 2020 at 18:44, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > \blackrule[width=.5\paperwidth] > It works! Thanks! ___ If your question is of interest to others as well

Re: [NTG-context] How to draw a horizontal line of 0.5\paperwidth ?

2020-11-04 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 04.11.2020 um 18:37: Dear List, I've tried \hl[0.5\paperwidth] but context complains 'a number should have been here' since \hl assumes 'em' as unit. Does anyone know how to draw a horizontal line of 0.5\paperwidth ? \blackrule[width=.5\paperwidth] Wolfgang

[NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-03 Thread Garulfo
_maitriser-lempreinte-carbone-de-la-france-1.pdf Please, what would be a preferred way ? - overlay ? - overlay and layer ? - \setuphead with before/after ? - \setupfloat[bleedfigure] and \placebleedfigure{}{\blackrule} I try to describe the specification here : 1. doublesided do

[NTG-context] How to reproduce a particular head/title style

2020-11-03 Thread Garulfo
wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf Please, what would be a preferred way ? overlay ? \setuphead with before/after ? \setupfloat[bleedfigure] and \placebleedfigure{}{\blackrule} I try t

Re: [NTG-context] Filler rules

2020-10-22 Thread Willi Egger
Thank you Wolfgang! — In the meantime i was indeed able to setup what i needed with \blackrule Kind regards Willi > On 22 Oct 2020, at 22:09, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 15.10.2020 um 21:59: >> Hoi, >> >> In earlier times we

Re: [NTG-context] Filler rules

2020-10-22 Thread Wolfgang Schuster
is the fillers, which apparently are not meant for the purpose I am looking for. You can try the \blackrule command to add a custom rule after your title. Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] Fullwidth topfigure with caption in the margin

2020-09-08 Thread Mikael Sundqvist
caption[topfigure][ > number=no, > location=bottom, > style={\switchtobodyfont[8bp]}, > ] > \starttext > \dorecurse{4}{\samplefile{knuth}} > > \startplacetopfigure[title={\samplefile{ward}}] > \blackrule[width=6.5in,height=2in,color=transparentred] > \stopplacetopfigure

[NTG-context] Fullwidth topfigure with caption in the margin

2020-09-07 Thread Mikael Sundqvist
}}] \blackrule[width=6.5in,height=2in,color=transparentred] \stopplacetopfigure \samplefile{knuth} \stoptext %% but, as one can see on page two, the text from the previous page just continues under the image. I want the "larg-scale user..." to start below the image. It would be good if i

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
. \starttext \blackrule[width=\textwidth,height=\linewidth] \vskip-\baselineskip \rotate[rotation=-0.2]{\blackrule[width=\textwidth,height=\linewidth]} \vskip-\baselineskip \rotate[rotation=-1]{\blackrule[width=\textwidth,height=\linewidth]} \stoptext Wolfgang

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] [...] \definehighlight [BufferStyle] [style=smallitalic, color=blue] Use the highlight-environment or create a new startstop-environment to apply style

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
Am 17.05.20 um 19:04 schrieb Marco Patzer: >> >> Is it somehow possible to apply styles to all buffers that gets >> included via \getbuffer by defining a special getbuffer-style? > > \setupbuffer has before and after keys which can be used. Example: > > \setupbuff

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
er has before and after keys which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] %% alternatively define custom buffers \definebuffer [foobar] \setupblackrules [width=1cm, height=1pt, color=gray] \definehighli

Re: [NTG-context] color

2020-03-06 Thread Henning Hraban Ramm
> Am 2020-03-06 um 16:06 schrieb Hans Hagen : > > Hi, > > As a side effect of svg color manipulations (experiments by ms and me) the > next release will have support for hbw colors: > >{\directcolored[h=.1,b=.2,w=.1]\blackrule[width=3cm,height=3cm]} >{\d

[NTG-context] color

2020-03-06 Thread Hans Hagen
Hi, As a side effect of svg color manipulations (experiments by ms and me) the next release will have support for hbw colors: {\directcolored[h=.1,b=.2,w=.1]\blackrule[width=3cm,height=3cm]} {\directcolored[h=.1,b=.2,w=.2]\blackrule[width=3cm,height=3cm]} {\directcolored[h=.1,b=.2

Re: [NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Hans Hagen
On 3/6/2020 12:07 PM, Floris van Manen wrote: Using lmtx, while trying to get multiple pieces of black rule on one line, for some reason the line breaks after the first item, to continue on the second line with the remainder. \starttext \dontleavehmode \blackrule[width=15mm,height=1mm,depth

[NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Floris van Manen
Using lmtx, while trying to get multiple pieces of black rule on one line, for some reason the line breaks after the first item, to continue on the second line with the remainder. \starttext \blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad% \blackrule[width=15mm,height=1mm,depth=0mm

Re: [NTG-context] overlay problem (beta 31.12.2019)

2020-01-02 Thread Hans Hagen
On 1/2/2020 5:00 PM, Peter Rolf wrote: Hi Hans There is a small problem with overlays. %- \starttext \defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]% \framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]} \stoptext

[NTG-context] overlay problem (beta 31.12.2019)

2020-01-02 Thread Peter Rolf
Hi Hans There is a small problem with overlays. %- \starttext \defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]% \framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]} \stoptext %- The inner square should be centered. Peter

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Hans Hagen
\verticalstrut \vskip-.5\lineheight \leaders \hbox to \hsize{\blackrule[width=\hsize,height=1pt,depth=1pt,color=red]\strut} \vfilll \verticalstrut \vskip-1.5\lineheight \page \stoptexdefinition \showframe \starttext \dorecurse{2}{\input knuth.tex\par

Re: [NTG-context] Question to a table

2019-08-07 Thread Wolfgang Schuster
, in one peace of the table without any text. Can you be more concrete what you try to achieve. Do want different colors for the borders or just two rules with different colors, the first can be achieved with a background graphics while the second can be done with the \blackrule command

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
tup{chapter:before}, align={flushleft,nothyphenated,verytolerant}, style={\tfd\sansbold}, header=empty, page=yes, commandbefore={\blank[1.75in]}, after={\blackrule[color=rojo,height=4pt,width=6em]\blank[1.25in]}] \setuppagenumber

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
fd\sansbold}, header=empty, page=yes, commandbefore={\blank[1.75in]}, after={\blackrule[color=rojo,height=4pt,width=6em]\blank[1.25in]}] \setuppagenumbering[alternative=doublesided,location=] \setupheadertexts [] [{{\small\sans\getmarking[chapter]}}]

Re: [NTG-context] two (2) questions about footnotes

2019-05-27 Thread Hans Hagen
On 5/27/2019 8:45 AM, Thomas A. Schmitz wrote: \unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]} \setupfootnotes[rule=\MyRule] \starttext Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.} \page \placeregister [index] \stoptext \setupnote [footnote] [rule=command

[NTG-context] two (2) questions about footnotes

2019-05-27 Thread Thomas A. Schmitz
Hi all, I have two questions/problems about footnotes. Here is a minimal example, which does not compile in this form: \unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]} \setupfootnotes[rule=\MyRule] \starttext Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.} \page

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 16:07: I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
reen,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width=\textwidth]\par } } \stoptext Is it intended that all nine lines are black? Many thanks for your help, Pablo -- http://www

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
yellow] [p=.5] \definemultitonecolor [my-mix] [my-blue=.12,my-yellow=.28] [c=.1,m=.1,y=.3,k=.1] \starttabulate[|T||] \NC my-blue \NC \blackrule[color=my-blue, width=.6\textwidth,height=5mm] \NC \NR \NC my-blue-50\NC \blackrule[color=my-blue-50, width=.6\textwidth,height=5mm] \NC

Re: [NTG-context] color check

2018-12-06 Thread Floris van Manen
text > > \startTEXpage > ~This is some sample text that goes behind the rectangles\hskip-80mm > \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm > \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm > \blackrule[width=18mm,height=10mm

Re: [NTG-context] color check

2018-12-06 Thread luigi scarso
rttext > > \startTEXpage > ~This is some sample text that goes behind the rectangles\hskip-80mm > \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm > \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm > > \blackrule[width=18mm

[NTG-context] color check

2018-12-06 Thread Floris van Manen
\blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm \blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm \blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-12 Thread Hans Hagen
\blackrule[width=3cm,height=1cm,depth=0pt,color=hs-orange] HS Orange r=0.866, g=0.286, b=0.003 \blank \blackrule[width=3cm,height=1cm,depth=0pt,color=hs-logoblau] HS Logoblau r=0.000, g=0.314, b=0.580 \blank \blackrule[width=3cm,height=1cm,depth=0pt,color=hs-dunkelblau] HS Dunkelblau r=0.258, g=0.474, b

[NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-12 Thread Jan U. Hasecke
=PDF/X-1a:2003, % intent={ISO Coated v2 300\letterpercent\space (ECI)}, intent={SWOP2006_Coated3v2.icc}, ] \stopmode \setuppapersize [A4] [A4] \starttext \blackrule[width=3cm,height=1cm,depth=0pt,color=hs-orange] HS Orange r=0.866, g=0.286, b=0.003 \blank \blackrule[width=3cm,height=1cm

[NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-19 Thread Marco Patzer
=9.7cm, height=21cm] \setuppapersize [flyer] [A4, landscape] \setuplayout [page] \setuparranging [TRYPTICHON] \starttext \showframe 10cm:\blank \rightaligned{\blackrule[width=10cm]}\vfill{\tfd\currentpage} \page 10cm:\blank[5mm] \blackrule[width=10cm]\vfill{\tfd\currentpage} \page 10cm:\blank

  1   2   3   4   >